#include "xmlreader.hpp"

using namespace std;

void XMLReader::read(const QString &name){
    QFile file(name);
    XMLSaxHandler handler;
    QXmlInputSource source( &file );
    QXmlSimpleReader reader;
    reader.setContentHandler( &handler );
    reader.parse(source);
    file.close();
}
